<?php

declare(strict_types=1);

namespace App\CustHub\Model;

use Mine\MineModel;

/**
 * @property int $id 
 * @property int $uid 
 * @property int $main_uid 
 * @property string $from_room_id 群微信ID
 * @property int $robot_id 机器人ID
 * @property string $user_id 群成员ID
 * @property int $status 状态：0=待处理 1=已踢 2=消息撤回免踢
 * @property int $end_time 撤回截止时间
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class ChRoomMemberToKick extends MineModel
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'ch_room_member_to_kick';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'uid', 'main_uid', 'from_room_id', 'robot_id', 'user_id', 'status', 'end_time', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'uid' => 'integer', 'main_uid' => 'integer', 'robot_id' => 'integer', 'status' => 'integer', 'end_time' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
